package com.lzyjkz.quick_auth.service;

import cn.hutool.json.JSONObject;
import org.springframework.security.core.userdetails.UserDetails;

public interface OAuthUserService {
    boolean existUser(JSONObject userInfo, String platform);
    UserDetails getUserDetails(JSONObject userInfo, String platform);
    boolean saveUser(JSONObject userInfo, String platform);
    boolean updateUser(JSONObject userInfo, String platform);
    boolean deleteUser(JSONObject userInfo, String platform);
}
